﻿<UserControl x:Class="Kiosk.UserControls.EmployeeButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="300" Height="100"
    xmlns:uc="clr-namespace:Kiosk.UserControls"
    >
    <Grid >
        <Grid.RowDefinitions>
            <RowDefinition Height="18*" />
            <RowDefinition Height="32.973*" />
            <RowDefinition Height="34*"   />
            <RowDefinition  Height="17.053*" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="115*" />
            <ColumnDefinition Width="151*" />
            <ColumnDefinition Width="34*" />
        </Grid.ColumnDefinitions>
        <uc:ucImageButton Grid.ColumnSpan="3" Grid.RowSpan="4" Width="Auto" Height="Auto" ButtonImage="images/directoryPersonBG.png" ButtonGlow="images/directoryPersonGlowBG.png"   />
        <Viewbox StretchDirection="Both" IsHitTestVisible="False" Stretch="Uniform" Grid.Column="1" Grid.Row="1" >
            <TextBlock Text="{Binding LastNameComma}" TextAlignment="Left"  />
        </Viewbox>
        <Viewbox StretchDirection="Both" IsHitTestVisible="False" Stretch="Uniform" Grid.Column="1" Grid.Row="2" >
            <TextBlock Text="{Binding FirstName}" TextAlignment="Left" />
        </Viewbox>

    </Grid>
</UserControl>
